package com.koron.system.staff.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @ClassName ForgetPwDto
 * @description
 * @Author zhouj
 * @Date 2021/12/28 15:33
 */
@Data
public class ForgetPwDto {

    @ApiModelProperty("手机号")
    @Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$", message = "手机号格式有误")
    private String phone;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("验证码")
    private String verityCode;

}
